Installation & Configuration

Java

Download and install the JDK software from the following link: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Set JAVA_HOME in Windows environment variable and add the location of the bin folder of the JDK installation for the PATH variable in System Variables.
Alt text
Alt text

Maven

Download and configure Maven from the following link:
http://maven.apache.org/download.cgi

MAVEN_HOME variables in the Windows environment and point it to your Maven local folder. Update PATH variable, append Maven bin folder - %MAVEN_HOME%\bin
Alt text Alt text

Create a folder “Repository” in D/Any drive
Create a folder “.m2” inside “Repository” folder
Navigate to Drive:\apache-maven-version\conf folder and amend the “settings.xml” file with below details

Alt text

Allure Report

Download and configure Maven from the following link:
https://github.com/allure-framework/allure2/releases --> Links --> Download (V2.12.1)

ALLURE_HOME variables in the Windows environment and point it to your Allure local folder. Update PATH variable, append Allure bin folder- %ALLURE_HOME%\bin Alt text
Alt text

Run the below commands on “CMD” to check the configurations are successfully completed:

  • java -version {Should get the response with the version number which is configured}

  • mvn -v {Should get the response with the version number which is configured}

  • allure --version {Should get the response with the version number which is configured}

Eclipse

Download Eclipse from the following link:
https://www.eclipse.org/downloads/packages/release/oxygen/3a --> Eclipse IDE for Java EE Developers

TestNG

Install TestNG plugin from Eclipse market place for better view of cucumber files. It is a set of plugins providing a smooth experience in editing and maintaining BDD. Eclipse -- Help -- Eclipse Marketplace -- Search for “testng”

Alt text

Cucumber

Drag and install “Cucumber” plugin in Eclipse from the following link:

https://marketplace.eclipse.org/content/cucumber-jvm-eclipse-plugin

Also install “Cucumber(Naturals)” plugin from Eclipse market place for better view of cucumber files. It is a set of plugins providing a smooth experience in editing and maintaining BDD.

Eclipse – Help- Eclipse Marketplace – Search for “gherkin”